package com.lxk.dao;

import com.lxk.pojo.MomentCom;
import com.lxk.pojo.MomentComExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MomentComMapper {
    long countByExample(MomentComExample example);

    int deleteByExample(MomentComExample example);

    int deleteByPrimaryKey(Integer momentComId);

    int insert(MomentCom record);

    int insertSelective(MomentCom record);

    List<MomentCom> selectByExample(MomentComExample example);

    MomentCom selectByPrimaryKey(Integer momentComId);

    int updateByExampleSelective(@Param("record") MomentCom record, @Param("example") MomentComExample example);

    int updateByExample(@Param("record") MomentCom record, @Param("example") MomentComExample example);

    int updateByPrimaryKeySelective(MomentCom record);

    int updateByPrimaryKey(MomentCom record);
}